package com.energy.analysis.basic.mapper;

import com.energy.analysis.basic.entity.PriceData;
import com.energy.analysis.comm.base.BaseMapper;

public interface PriceMapper extends BaseMapper<PriceData>{
	
	PriceData getPriceById(int id);
	//获取当前最新价格，其实就一条
	PriceData getPriceData();
	//更新价格
	int updatePriceData(PriceData priceData);
	
	int insertPriceData(PriceData priceData);
}
